﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="adjust.aspx.cs" Inherits="dzs.Web.Admin.spaceinfo.adjust" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style1 {}
        .auto-style2 {
            text-align: center;
            font-size: x-large;
        }
        .auto-style3 {
            text-align: left;
            width: 80px;
        }
        .auto-style4 {
            text-align: left;
            height: 28px;
            width: 80px;
        }
        .auto-style5 {
            height: 28px;
        }
    </style>
    <script language="javascript" type="text/javascript">

        function checksel()
        {
            if($("#myout :checked").length != 1 || $("#myin :checked").length != 1) {
                alert('出仓和入仓都要选择一个！');
                return false;
            }
            else
                return true;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

      <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
                <tr>
                    <td align="right" class="auto-style2" colspan="3">
                         <strong>选择要调出的仓位</strong></td>
                </tr>
                <tr>
                    <td align="right" class="auto-style4">
                         <b>仓位名称：</b>
                    </td>
                    <td  align="left">                       
                    <asp:TextBox ID="txtKeyword" runat="server"></asp:TextBox>
                   <b>仓库名称：<asp:TextBox ID="txtstore" runat="server"></asp:TextBox>
                        </b>
                    &nbsp;<asp:Button ID="btnSearch" runat="server" Text="查询"  OnClick="btnSearch_Click" >
                    </asp:Button>                    
                        
                    </td>
                    <td class="auto-style5">
                        </td>
                </tr>
                <tr>
                    <td align="left"  colspan="3" id="myout">
                         <asp:RadioButtonList ID="rblout" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                         </asp:RadioButtonList>
                    </td>
                </tr>
          <tr>
                    <td align="left"  colspan="3">
                         
                        <asp:Button ID="btnnotall" runat="server" OnClick="btnnotall_Click" Text="调整" />
                        <br />
                        <asp:CheckBoxList ID="cblmaterial" runat="server" Visible="False" RepeatDirection="Horizontal" RepeatLayout="Flow">
                        </asp:CheckBoxList>
                         
                    </td>
                </tr>
           <tr>
                    <td align="right" class="auto-style2" colspan="3">
                         <strong>选择要调入的仓位</strong></td>
                </tr>
                <tr>
                    <td align="right" class="auto-style3">
                         <b>仓位名称：</b>
                    </td>
                    <td align="left">                       
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                     <b>仓库名称：<asp:TextBox ID="txtinstore" runat="server"></asp:TextBox>
                    <asp:Button ID="btnsch" runat="server" Text="查询"  OnClick="btnSearchin_Click" >
                    </asp:Button>                    
                        
                    </td>
                    <td class="tdbg">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td align="left"  colspan="3" id="myin">
                         <asp:RadioButtonList ID="rblin" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                         </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td align="left"  colspan="3">
                        仓位状态：<asp:DropDownList ID="ddlstatus" runat="server">
            <asp:ListItem Value="0">未占</asp:ListItem>
            <asp:ListItem Value="1" Selected="True">未满</asp:ListItem>
            <asp:ListItem Value="2">已满</asp:ListItem>
        </asp:DropDownList> <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="确定" OnClientClick="return checksel()" />
                    </td>
                </tr>
            </table>
            <!--Search end-->
            <br />
               <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
                <tr>
                    <td style="width: 1px;">                        
                    </td>
                    <td align="left">
                        &nbsp;</td>
                </tr>
            </table>
</asp:Content>
